<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-en_title" class="control-label col-xs-12 col-sm-2">{:__('Title')}(英文):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_title" data-rule="" class="form-control" name="row[en_title]" type="text" value="{$row.en_title}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-news_img" class="control-label col-xs-12 col-sm-2">{:__('News img')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_image('news_img',$row.news_img,['name'=>"row[news_img]",'data-rule'=>"required"])}
        </div>
    </div>

    <div class="form-group layer-footer" style="margin-bottom: 50px;">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('save')}</button>
        </div>
    </div>
</form>